Balancing power supply and demand

ABSTRACT

A method and apparatus to balance adapter power supply and computing device power demand. In one embodiment, power to/from battery pack(s) maybe controlled by adjusting the output voltage of the power adapter via the current input to the power adapter through a feedback pin to meet power demand of electrical loads. Another embodiment provides a way to adjust the activities of the electrical loads such that neither adapter power rating nor the electrical load power limit is exceeded while avoiding system shutdown.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of, claims the benefit of and priority to U.S. patent application Ser. No. 13/536,180, filed Jun. 28, 2012, entitled “Balancing Power Supply and Demand”, which is a continuation of U.S. patent application Ser. No. 12/714,075, filed Feb. 26, 2010, now U.S. Pat. No. 8,242,750 issued Aug. 14, 2012, which is a continuation of U.S. patent application Ser. No. 11/395,677 filed Mar. 30, 2006, all of which are incorporated herein by reference in their entirety.

BACKGROUND INFORMATION

Computer systems are becoming increasing pervasive in our society, including everything from small handheld electronic devices, such as personal data assistants and cellular phones, to application-specific electronic devices, such as set-top boxes, digital cameras, and other consumer electronics, to medium-sized mobile systems such as notebook, sub-notebook, and tablet computers, to desktop systems, servers and workstations. Computer systems typically include one or more processors. A processor manipulates and controls the flow of data in a computer by executing instructions.

To provide more powerful computer systems for consumers, processor designers strive to continually increase the operating speed of the processor. Unfortunately, as processor speed increases, the power consumed by the processor tends to increase as well. Historically, the power consumed by a computer system has been limited by two factors. First, as power consumption increases, the computer tends to run hotter, leading to thermal dissipation problems. Second, the power consumed by a computer system may tax the limits of the power supply used to keep the system operational, reducing battery life in mobile systems and diminishing reliability while increasing cost in larger systems.

For instance, power adapters generally consume more power than most other individual components of the notebook computer. To operate the internal components of notebook computers, external power adapters may be utilized to charge battery pack(s) and to supply power to the rest of the internal components of the notebook computer simultaneously. However, in current designs power adapters may become overheated and/or have functional failures, especially when used in a non-controlled environment.

The present invention addresses this and other issues associated with the prior art.

BRIEF DESCRIPTION OF THE DRAWINGS

Various features of the invention will be apparent from the following description of preferred embodiments as illustrated in the accompanying drawings, in which like reference numerals generally refer to the same parts throughout the drawings. The drawings are not necessarily to scale, the emphasis instead being placed upon illustrating the principles of the inventions.

FIG. 1 illustrates a block diagram of a computer system in accordance with an embodiment.

FIG. 2 illustrates a circuit schematic of a power system in accordance to one embodiment.

FIG. 3 illustrates a circuit schematic of a power system in accordance to a second embodiment.

DETAILED DESCRIPTION

In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular structures, architectures, interfaces, techniques, etc. in order to provide a thorough understanding of the various aspects of the invention. However, it will be apparent to those skilled in the art having the benefit of the present disclosure that the various aspects of the invention may be practiced in other examples that depart from these specific details. In certain instances, descriptions of well-known devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

FIG. 1 illustrates a block diagram of a computer system 100 in accordance with an embodiment. The computer system 100 includes a computing device 102 and a power adapter 104 (e.g., to supply electrical power to the computing device 102). The computing device 102 may be any suitable computing device such as a laptop (or notebook) computer, a personal digital assistant, a desktop computing device (e.g., a workstation or a desktop computer), a rack-mounted computing device, and the like.

Electrical power may be provided to various components of the computing device 102 (e.g., through a computing device power supply 106) from one or more of the following sources: one or more battery packs, an alternating current (AC) outlet (e.g., through a transformer and/or adaptor such as a power adapter 104), automotive power supplies, airplane power supplies, and the like. In one embodiment, the power adapter 104 may transform the power supply source output (e.g., the AC outlet voltage of about 110VAC to 240VAC) to a direct current (DC) voltage ranging between about 7VDC to 12.6VDC. Accordingly, the power adapter 104 may be an AC/DC adapter.

The computing device 102 also includes one or more central processing unit(s) (CPUs) 108 coupled to a bus 110. In one embodiment, the CPU 108 is one or more processors in the Pentium® family of processors including the Pentium® II processor family, Pentium® Ill processors, Pentium® IV processors available from Intel® Corporation of Santa Clara, Calif. Alternatively, other CPUs may be used, such as Intel's Itanium®, XEON™, and Celeron® processors. Also, one or more processors from other manufactures may be utilized. Moreover, the processors may have a single or multi core design.

A chipset 112 is also coupled to the bus 110. The chipset 112 includes a memory control hub (MCH) 114. The MCH 114 may include a memory controller 116 that is coupled to a main system memory 118. The main system memory 118 stores data and sequences of instructions that are executed by the CPU 108, or any other device included in the system 100. In one embodiment, the main system memory 118 includes random access memory (RAM); however, the main system memory 118 may be implemented using other memory types such as dynamic RAM (DRAM), synchronous DRAM (SDRAM), and the like. Additional devices may also be coupled to the bus 110, such as multiple CPUs and/or multiple system memories.

The MCH 114 may also include a graphics interface 120 coupled to a graphics accelerator 122. In one embodiment, the graphics interface 120 is coupled to the graphics accelerator 122 via an accelerated graphics port (AGP). In an embodiment, a display (such as a flat panel display) may be coupled to the graphics interface 120 through, for example, a signal converter that translates a digital representation of an image stored in a storage device such as video memory or system memory into display signals that are interpreted and displayed by the display. The display signals produced by the display device may pass through various control devices before being interpreted by and subsequently displayed on the display.

A hub interface 124 couples the MCH 114 to an input/output control hub (ICH) 126. The ICH 126 provides an interface to input/output (I/O) devices coupled to the computer system 100. The ICH 126 may be coupled to a peripheral component interconnect (PCI) bus. Hence, the ICH 126 includes a PCI bridge 128 that provides an interface to a PCI bus 130. The PCI bridge 128 provides a data path between the CPU 108 and peripheral devices. Additionally, other types of I/O interconnect topologies may be utilized such as the PCI Express™ architecture, available through Intel® Corporation of Santa Clara, Calif.

The PCI bus 130 may be coupled to an audio device 132 and one or more disk drive(s) 134. Other devices may be coupled to the PCI bus 130. In addition, the CPU 108 and the MCH 114 may be combined to form a single chip. Furthermore, the graphics accelerator 122 may be included within the MCH 114 in other embodiments.

Additionally, other peripherals coupled to the ICH 126 may include, in various embodiments, integrated drive electronics (IDE) or small computer system interface (SCSI) hard drive(s), universal serial bus (USB) port(s), a keyboard, a mouse, parallel port(s), serial port(s), floppy disk drive(s), digital output support (e.g., digital video interface (DVI)), and the like. Hence, the computing device 102 may include volatile and/or nonvolatile memory.

Currently, a computer system 100 may not know the power rating of the adapter 104. The output voltage of the adapter 104 is usually a fixed voltage that is not directly controlled by any component in the computing device 102. Both an electrical load and a battery may demand power from the adapter 104, both simultaneously and individually. The power adapter 104 may supply power to the electrical load through VDC and charge a battery through a battery charger. The battery charger usually starts to charge Li-Ion batteries with a constant current. Usually, the power required by the battery does not depend on the power consumption of the electrical load. This may cause problems if the electrical load does not obtain sufficient power from the adapter. The adapter 104 may shut down due to excessive power demand if its protection mechanism functions properly. However, if protection mechanisms do not function properly, the adapter may overheat, resulting in damages.

FIG. 2 illustrates a circuit schematic of a power system 200 in accordance with one embodiment. The power system 200 includes the power adapter 104 and the computing device power supply 106 discussed with reference to FIG. 1. In one embodiment, the power system 200 illustrates further details regarding the computing device power supply 106 of FIG. 1 that also includes new elements (for example, power monitor module 222) related to this invention.

The power system 200 includes electrical loads 202 coupled to the computing device power supply 106. The electrical loads 202 may represent various components of the computing device 102 of FIG. 1 which derive their power from the power adapter 104 (e.g., through the computing device power supply 106). For example, the electrical loads 202 may represent power usage by items 108-134 discussed with reference to FIG. 1 and a platform associated with those items. In one embodiment, one or more DC to DC voltage regulators may be utilized between the computing device power supply 106 and the electrical loads 202 (not shown), e.g., to regulate the voltage provided to the various components of the computing device 102. In another embodiment, the electrical loads 202 may represent power usage of a platform.

As illustrated in FIG. 2, the computing device power supply 106 may include a transistor 204 (Q_(AD1)) to switch the voltage potential provided by the power adapter 104. The negative voltage potential terminal of power adapter 104 is also connected to the power system 200, and may be connected to ground. The battery charger in the computing device 102 of FIG. 1 is eliminated and integrated into the power adapter 104 in FIG. 2. An additional feedback control line is added from the adapter 104 to ADFC pin 231 at the power monitor module 228. The output voltage of the adapter 104 is variable and directly controlled by the power monitor module 228. The transistor 204 may be any suitable transistor including a power transistor, such as a field effect transistor (FET), a metal oxide silicon FET (MOSFET), and the like. The gate of the transistor 204 (Q_(AD1)) is coupled to a selector 206 (alternatively, power monitor 228) to control the flow of current from the power adapter 104 into the computing device power supply 106.

The selector 206 is also coupled to one or more battery packs (208 and 210) and a power switch 212. The battery packs (208-210) may provide reserve power for the electrical loads 202, e.g., when the power adapter 104 is disconnected from the computing device power supply 106 and/or a power source (such as those discussed with reference to FIG. 1). The power switch 212 is coupled to the battery packs (208-210) and controlled by the selector 206 to switch power to and from the battery packs (208-210) on or off. For example, to provide reserve power (from the battery packs 208 and 210) to the electrical loads 202, e.g., through a resistor 214 (R_(CHR)), the selector 206 may switch on the power switch 212. Alternatively, when charging the battery packs (208-210), the selector 206 may turn on the power switch 212 to provide power to the battery packs (208-210) through the transistor 204 (Q_(AD1)), a resistor 216 (R_(AD)), and the resistor 214 (R_(CHR)).

The power adapter 104 output current I_(AD) may be determined through resistor R_(AD) 216. In the battery pack 208, 210 current I_(CHR) may be determined by resistor R_(CHR) 214. Thus, the current going to the electrical loads 202 is I_(SYS). Therefore, the power adapter 104 output current I_(AD) is equal to the total of the battery pack 208, 210 current I_(CHR) and the electrical load 202 current I_(SYS).

In this embodiment, the selector 206 may switch the flow of power from the power adapter 104 on or off based on the state of the battery packs (208-210) and/or the electrical loads. For example, if the battery packs (208-210) are fully charged and the electrical loads 202 are off (e.g., the computing device 102 is shut down), the selector 206 may switch off the flow of current from the power adapter 104 into the computing device power supply 106. Alternatively, if the battery packs (208-210) are to be charged and the electrical loads 202 are off (e.g., the computing device 102 is shut down), the selector 206 may switch on the transistor 204 and the power switch 212 to allow the flow of current from the power adapter 104 into the battery packs (208-210). In this embodiment, the power switch 212 may include a suitable transistor controlled by the selector 206 for each battery pack (208-210), including a power transistor, such as a FET, a MOSFET, and the like.

Furthermore, the selector 206 may determine when to switch between a plurality of battery packs (208-210). For example, when a battery pack (208 or 210) is removed from the computing device power supply 106, the selector 206 may switch to any remaining battery packs. The power switch 212 may be utilized to avoid safety issues (e.g., by having exposed battery terminal pins) when a battery pack is removed.

The computing device power supply 106 also includes a system management controller (SMC) 218 which is coupled to the battery packs (208-210) to monitor the current flow into and out of the battery packs to determine the charge level and capacity of each battery pack. In one embodiment, each battery pack may include a battery management unit (BMU) (220 and 222) to monitor the current flow through the battery pack. The SMC 218 is also coupled to the selector 206 to communicate the battery pack charge level and capacity information.

The selector 206 is coupled to an analog front end (AFE) (224 and 226) within each battery pack, e.g., to switch the flow of power between the battery packs and the power switch 212. In an embodiment, the AFEs (224 and 226) are coupled to the power switch through one or more suitable transistors, including a power transistor, such as a FET, a MOSFET, and the like.

The computing device power supply 106 additionally includes a power monitor module 228 coupled to measure the voltage across the resistors 214 and 216. In one embodiment, the resistors 214 and 216 have fixed values. The power monitor module 228 may be coupled to measure the current flow through the resistors 214 and 216. For example, the power monitor module 228 may monitor the total system power consumption (e.g., by measuring the voltage across the resistor 216) and the battery pack charging power (e.g., by measuring the voltage across the resistor 214).

The power monitor module 228 is coupled to the power adapter 104 through an adapter feedback control (ADFC) pin 231. The ADFC pin 231 may detect the power rating of the power adapter 104 and control the output voltage thus output power of the adapter 104. The power to the battery packs 208, 210 and the electrical loads 202 maybe controlled by adjusting the control current to the power adapter 104 through the ADFC pin 231.

If additional power (higher I_(SYS)) is desired by the electrical loads 202 and battery packs 208, 210, the power monitor module 228 may increase power adapter 104 output voltage (higher I_(AD)) by adjusting the current through the ADFC pin 231 until either the power demand is met or power rating of the adapter 104 is reached, whichever occurs first. When the electrical loads 202 power demand approaches the adapter power rating (I_(SYS) approaches I_(AD)), the charge current I_(CHR) may be reduced, if necessary, such that the power limit of the adapter 104 is not violated.

If the electrical loads 202 power demand (I_(SYS)) increases further to exceed the power rating of the adapter 104 (I_(AD)), the adapter voltage may be reduced such that the battery packs 208, 210 may be discharged to supply power to the electrical loads 202 to meet the power demand of the electrical loads 202. Therefore by controlling the output voltage of the adapter 104 to adjust the battery packs 208, 210 charging/discharging activities, it may be ensured that the power rating of the adapter 104 is not exceeded, the power requirement of the electrical loads 202 are satisfied and the battery pack 208, 210 are properly charged. In addition, there may be instances in which the power consumption of the computing device 102 may need to be modified in accordance with power supplying capability of the power adapter 104 and the status of the battery packs 208, 210.

FIG. 3 illustrates a circuit schematic of a power system 300 in accordance with a second embodiment. The power system 300 includes the power adapter 104 and the computing device power supply 106 discussed with reference to FIG. 1. In one embodiment, the power system 300 illustrates further details regarding the computing device power supply 106 of FIG. 1.

In some instances, the power required by the electrical loads 202 may not depend on either the adapter's 104 power capability or battery pack 208, 210 charging power. For these instances, the power demand for the electrical loads may need to be adjusted. The power adapter 104 and the battery packs 208, 210, together, may be unable to satisfy power demand of the electrical loads 202. For instance, if the battery packs 208, 210 power is depleted, or battery pack manufactures prefers not to interrupt the ongoing charging cycle of the battery packs 208, 210.

If the power demand of the electrical loads 202 is not managed, the power adapter 104 may be forced to shut down due to over loading, thereby leading to a system 100 shut down. In addition, if the total electrical loads 202 power exceeds the design limit permitted by thermal or other constraints, this may lead to internal component failure, which could also force the power adapter 104 to shut down.

As shown in FIG. 3, the power monitor module 228 manages power demand from the electrical loads 202. The power information (P_(SYS)) may be provided by the power monitor 228 to the computing device power supply 106. The system power limit (P_(SYS), P_(BATT)) may be communicated to the power monitor module 228 through the system management controller (SMC) 218. The system management controller 218 communicates the current flow into and out of the battery packs 208, 210 to determine the charge level and capacity of each battery pack.

A request to adjust electrical loads 202 power may be conveyed through, for example, input/output hub (ICH) 126. ICH 126 is able to provide an interface to I/O devices coupled to the computer system 100, such as the electrical loads 202. The electrical loads 202 (CPU, MCH, graphics, display, etc. including ICH itself) may adjust their activities until the power supply and demand is balanced. It should be noted that other devices may be used to facilitate the activities of the electrical loads 202. Accordingly, the embodiment provides a way to adjust the activities of the electrical loads 202 so that neither adapter power rating nor the electrical load power limit is exceeded while avoiding system shut down.

Advantageously, this embodiment enables electrical load power management by taking into consideration, power adapter's 104 power capability, battery packs 208, 210 status, and electrical loads 202 power requirement. This embodiment takes all three of these into consideration to balance power supply and demand on the electrical loads by adjusting the electrical loads 202 activities in active states.

Reference in the specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least an implementation. The appearances of the phrase “in one embodiment” in various places in the specification may or may not be all referring to the same embodiment.

Thus, although embodiments have been described in language specific to structural features and/or methodological acts, it is to be understood that claimed subject matter may not be limited to the specific features or acts described. Rather, the specific features and acts are disclosed as sample forms of implementing the claimed subject matter. 

1-27. (canceled)
 28. A mobile computing device, comprising: a battery; a plurality of components, wherein the plurality of components is to receive power from the battery and/or a power adapter, wherein the power adapter is to receive an alternating current (AC) input and generate a direct current (DC) output voltage, and wherein the power adapter is to be removably coupled to the mobile computing device; and circuitry to: control the power adapter, during a first time-period based on a first operation of the plurality of components, to generate the DC output voltage at a first voltage level, and control the power adapter, during a second time-period based on a second operation of the plurality of components, to generate the DC output voltage at a second voltage level that is different from the first voltage level.
 29. The apparatus of claim 28, wherein: during the first time-period, the plurality of components is to consume a first amount of power for the first operation of the plurality of components; and during the second time-period, the plurality of components is to consume a second amount of power for the second operation of the plurality of components, the second amount of power being different from the first amount of power.
 30. The apparatus of claim 29, wherein: the second amount of power is less than the first amount of power; and the second voltage level is less than the first voltage level.
 31. The apparatus of claim 28, wherein the plurality of components comprises at least a processor.
 32. The apparatus of claim 28, wherein the circuitry comprises: a pin, wherein the circuitry is to transmit via the pin instructions to the power adapter to control the power adapter, wherein the circuitry is to receive, from the power adapter, information about the power adapter via the pin.
 33. The apparatus of claim 32, wherein the information comprises one or both of a capability of the power adapter or a rating of the power adapter.
 34. The apparatus of claim 32, wherein the information comprises information associated with an identification of the power adapter.
 35. The apparatus of claim 32, wherein: the circuitry is to transmit instructions to the power adapter and receive information about the power adapter via a first signal line; the plurality of components is to receive power from the power adapter via a power line and a ground line; and the mobile computing device is to be removably coupled to the power adapter via a cable comprising the first signal line, the power line and the ground line.
 36. A system, the system comprising: a memory; a processor coupled to the memory; a battery, wherein the system is to supply power to at least the processor and the memory from one or both the battery or a power adapter, wherein the power adapter is to receive an alternating current (AC) input and generate a direct current (DC) output voltage, and wherein the power adapter is to be removably coupled to the system; and circuitry to: estimate a first power requirement of the system during a first period of time, control the power adapter to generate the DC output voltage at a first level during the first period of time, estimate a second power requirement of the system during a second period of time, the second power requirement being different from the first power requirement, and the second period of time being different from the first period of time, and control the power adapter to generate the DC output voltage at a second level during the first period of time, the second level being different from the first level.
 37. The system of claim 36, wherein: the first power requirement is higher than the second power requirement; and the first level of the DC output voltage is higher than the second level of the DC output voltage.
 38. The system of claim 36, wherein the circuitry is to: receive, from the power adapter, information about the power adapter.
 39. The system of claim 11, wherein the circuitry is to: control the power adapter by transmitting requests over a first pin of the circuitry; and receive, from the power adapter, information about the power adapter over the first pin of the circuitry.
 40. The system of claim 11, wherein the information comprises one or more of a rating or a capability of the power adapter.
 41. A system comprising: plural components that consume power to process information, the plural components including at least a processor; a battery that charges to store power and discharges the stored power to provide power to the plural components; a power system operable to provide direct current voltage to the plural components; a power adapter operable to convert alternating current to direct current and to provide the direct current to the power system, wherein the power adapter is to adjust an adapter direct current voltage output between at least a first voltage level and a second voltage level; and a power monitor associated with the power system and interfaced with the power adapter, the power monitor to issue a request to command the power adapter to output (i) the adapter direct current voltage at the first voltage level if the plural components have a first power consumption state in which the plural components consume a first amount of power and (ii) the adapter direct current voltage at the second voltage level if the plural components have a second power consumption state in which the plural components consume a second amount of power, wherein at least some of the plural components consume power in both the first and second power consumption states.
 42. The system of claim 41, wherein: the first amount of power is higher than the second amount of power; and the first voltage level is higher than the second voltage level.
 43. The system of claim 41, wherein the system comprises a laptop.
 44. One or more non-transitory computer-readable storage medium configured to store instructions that, when executed by a processor of a first system, cause the processor to: transmit a first request to a power adapter, during a first time-period based on a first operation of a plurality of components, to generate a direct current (DC) output voltage at a first voltage level; and transmit a second request to the power adapter, during a second time-period based on a second operation of the plurality of components, to generate the DC output voltage at a second voltage level that is different from the first voltage level.
 45. The one or more non-transitory computer-readable storage medium of claim 44, wherein: during the first time-period, the plurality of components is to consume a first amount of power for the first operation of the plurality of components; and during the second time-period, the plurality of components is to consume a second amount of power for the second operation of the plurality of components, the second amount of power being different from the first amount of power.
 46. The one or more non-transitory computer-readable storage medium of claim 44, wherein the instructions further cause the processor to: receive, from the power adapter, information about the power adapter.
 47. The one or more non-transitory computer-readable storage medium of claim 46, wherein the information comprises one or more of a capability of the power adapter or a rating of the power adapter. 